<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml" 
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html" 
                xmlns:p="http://primefaces.org/ui" 
                xmlns:f="http://java.sun.com/jsf/core">

    <h:outputText escape="false" value=" Nenhum registro encontrado " rendered="#{MB.itens.rowCount eq 0}" class=" alert-info" />
    <h:panelGroup rendered="#{MB.itens.rowCount > 0}">
        <h:commandLink action="#{MB.previous}" rendered="#{MB.pagination.hasPreviousPage}" >
            <i class="image icon-backward"/>
        </h:commandLink>
        <h:outputText value="  #{MB.pagination.pageFirstItem + 1}..#{MB.pagination.pageLastItem + 1} / #{MB.pagination.itemsCount}  "/>
        <h:commandLink action="#{MB.next}" rendered="#{MB.pagination.hasNextPage}" >
            <i class="icon-forward"/>
        </h:commandLink>
    </h:panelGroup>
</ui:composition>

